#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

class Foo:
    def __f1(self):
        print("foo.f1")
    def f2(self):
        print("foo.f2")
        self.__f1()

class Bar(Foo):
    def f1(self):
        print("bar.f1")

b1= Bar()
b1.f2()
